FapiMember\Bootstrap A

Total Complexity 54
Dependencies 23
Dependents 1
Total lines 568
Lines of code 418
Logical lines of code 181
Comment lines 5
Methods 28
Properties 13

Methods 28

Method Rating Maintainability Complexity Lines of code
migrateCredentialsIfNeeded()
S
50 6 31
checkSimpleShopStatus()
S
46 5 41
addHooks()
S
46 4 40
addScripts()
S
51 4 27
registerScripts()
S
51 2 35
initializeMembershipChanges()
S
61 3 14
addPublicScripts()
S
59 2 17
initializeStatisticsIfNeeded()
S
69 3 8
registerStyles()
S
55 1 26
registerSettings()
S
56 1 22
addRestEndpoints()
S
56 1 19
__construct()
S
57 1 16
checkFapiMemberPlusStatus()
S
68 2 8
addApiNonce()
S
70 2 6
registerRoles()
S
72 2 5
generateTokenIfNeeded()
S
70 2 6
addDiviHooks()
S
65 2 8
addRestEndpointV2()
S
61 1 13
addRestEndpointV1()
S
62 1 13
registerLevelsTaxonomy()
S
63 1 12
addShortcodes()
S
67 1 7
initialize()
S
69 1 7
registerPublicStyles()
S
69 1 8
initializeDiviExtension()
S
79 1 3
addMiowebHooks()
S
72 1 5
addAdminHooks()
S
66 1 8
addInitHooks()
S
68 1 7
registerUserFapiMemberTableColumn()
S
69 1 6